package cn.usian.service;

import cn.usian.common.R;
import cn.usian.entity.Employee;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface EmployeeService {
    public R<Employee> login(Employee employee);

    R<Page> page(int page, int pageSize, String name);

    void save(Employee employee);

    void updateEmp(Employee employee);

    R findByid(Long id);
}
